Prevent virtual host on same server interact on apache [closed]

Posted by Soosoo Soo on Pro Webmasters See other posts from Pro Webmasters or by Soosoo Soo
Published on 2012-06-04T00:50:04Z Indexed on 2012/06/05 16:48 UTC
Read the original article Hit count: 452

Filed under:
|

Possible Duplicate:
Prevent virtual host on same server interact on apache

I have a vps apache 2.0 webserver, with multiple domains and multiple IPs set.

In document root /var/www/html/ I have http://serverA.com, and I create a virtual host in folder /var/www/html/serverB for http://serverB.com.

They work great for both, but the problem is I can access serverB files with the URL http://serverA.com/serverB/, which I don't want to happen. How do I prevent that?

© Pro Webmasters or respective owner

Related posts about apache

Related posts about virtualhost